home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / userlock.elc.z / userlock.elc
Emacs Compiled Lisp  |  1998-10-28  |  3.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 70 73 69 |piled by| rms@psi|
|00000020| 6c 6f 63 69 6e 2e 67 6e | 75 2e 61 69 2e 6d 69 74 |locin.gn|u.ai.mit|
|00000030| 2e 65 64 75 20 6f 6e 20 | 53 75 6e 20 4a 75 6e 20 |.edu on |Sun Jun |
|00000040| 33 30 20 30 33 3a 32 39 | 3a 35 33 20 31 39 39 36 |30 03:29|:53 1996|
|00000050| 0a 3b 3b 3b 20 66 72 6f | 6d 20 66 69 6c 65 20 2f |.;;; fro|m file /|
|00000060| 68 6f 6d 65 2f 66 73 66 | 2f 72 6d 73 2f 65 31 39 |home/fsf|/rms/e19|
|00000070| 2f 6c 69 73 70 2f 75 73 | 65 72 6c 6f 63 6b 2e 65 |/lisp/us|erlock.e|
|00000080| 6c 0a 3b 3b 3b 20 65 6d | 61 63 73 20 76 65 72 73 |l.;;; em|acs vers|
|00000090| 69 6f 6e 20 31 39 2e 33 | 31 2e 33 2e 0a 3b 3b 3b |ion 19.3|1.3..;;;|
|000000a0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000b0| 6e 20 46 53 46 20 32 2e | 31 30 0a 3b 3b 3b 20 6f |n FSF 2.|10.;;; o|
|000000c0| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|000000d0| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|000000e0| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|000000f0| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000100| 20 69 6e 20 45 6d 61 63 | 73 20 31 38 2e 0a 0a 28 | in Emac|s 18...(|
|00000110| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000120| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000130| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000140| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|00000150| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|00000160| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|00000170| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|00000180| 72 73 69 6f 6e 20 22 31 | 39 2e 32 39 22 29 29 29 |rsion "1|9.29")))|
|00000190| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 60 75 73 |. (er|ror "`us|
|000001a0| 65 72 6c 6f 63 6b 2e 65 | 6c 27 20 77 61 73 20 63 |erlock.e|l' was c|
|000001b0| 6f 6d 70 69 6c 65 64 20 | 66 6f 72 20 45 6d 61 63 |ompiled |for Emac|
|000001c0| 73 20 31 39 2e 32 39 20 | 6f 72 20 6c 61 74 65 72 |s 19.29 |or later|
|000001d0| 22 29 29 0a 0a 0a 28 70 | 75 74 20 28 71 75 6f 74 |"))...(p|ut (quot|
|000001e0| 65 20 66 69 6c 65 2d 6c | 6f 63 6b 65 64 29 20 28 |e file-l|ocked) (|
|000001f0| 71 75 6f 74 65 20 65 72 | 72 6f 72 2d 63 6f 6e 64 |quote er|ror-cond|
|00000200| 69 74 69 6f 6e 73 29 20 | 28 71 75 6f 74 65 20 28 |itions) |(quote (|
|00000210| 66 69 6c 65 2d 6c 6f 63 | 6b 65 64 20 66 69 6c 65 |file-loc|ked file|
|00000220| 2d 65 72 72 6f 72 20 65 | 72 72 6f 72 29 29 29 0a |-error e|rror))).|
|00000230| 23 40 33 38 32 20 41 73 | 6b 20 75 73 65 72 20 77 |#@382 As|k user w|
|00000240| 68 61 74 20 74 6f 20 64 | 6f 20 77 68 65 6e 20 68 |hat to d|o when h|
|00000250| 65 20 77 61 6e 74 73 20 | 74 6f 20 65 64 69 74 20 |e wants |to edit |
|00000260| 46 49 4c 45 20 62 75 74 | 20 69 74 20 69 73 20 6c |FILE but| it is l|
|00000270| 6f 63 6b 65 64 20 62 79 | 20 55 53 45 52 2e 0a 54 |ocked by| USER..T|
|00000280| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 68 61 73 |his func|tion has|
|00000290| 20 61 20 63 68 6f 69 63 | 65 20 6f 66 20 74 68 72 | a choic|e of thr|
|000002a0| 65 65 20 74 68 69 6e 67 | 73 20 74 6f 20 64 6f 3a |ee thing|s to do:|
|000002b0| 0a 20 20 64 6f 20 28 73 | 69 67 6e 61 6c 20 27 62 |. do (s|ignal 'b|
|000002c0| 75 66 66 65 72 2d 66 69 | 6c 65 2d 6c 6f 63 6b 65 |uffer-fi|le-locke|
|000002d0| 64 20 28 6c 69 73 74 20 | 46 49 4c 45 20 55 53 45 |d (list |FILE USE|
|000002e0| 52 29 29 0a 20 20 20 20 | 74 6f 20 72 65 66 72 61 |R)). |to refra|
|000002f0| 69 6e 20 66 72 6f 6d 20 | 65 64 69 74 69 6e 67 20 |in from |editing |
|00000300| 74 68 65 20 66 69 6c 65 | 0a 20 20 72 65 74 75 72 |the file|. retur|
|00000310| 6e 20 74 20 28 67 72 61 | 62 20 74 68 65 20 6c 6f |n t (gra|b the lo|
|00000320| 63 6b 20 6f 6e 20 74 68 | 65 20 66 69 6c 65 29 0a |ck on th|e file).|
|00000330| 20 20 72 65 74 75 72 6e | 20 6e 69 6c 20 28 65 64 | return| nil (ed|
|00000340| 69 74 20 74 68 65 20 66 | 69 6c 65 20 65 76 65 6e |it the f|ile even|
|00000350| 20 74 68 6f 75 67 68 20 | 69 74 20 69 73 20 6c 6f | though |it is lo|
|00000360| 63 6b 65 64 29 2e 0a 59 | 6f 75 20 63 61 6e 20 72 |cked)..Y|ou can r|
|00000370| 65 77 72 69 74 65 20 69 | 74 20 74 6f 20 75 73 65 |ewrite i|t to use|
|00000380| 20 61 6e 79 20 63 72 69 | 74 65 72 69 6f 6e 20 79 | any cri|terion y|
|00000390| 6f 75 20 6c 69 6b 65 20 | 74 6f 20 63 68 6f 6f 73 |ou like |to choos|
|000003a0| 65 20 77 68 69 63 68 20 | 6f 6e 65 20 74 6f 20 64 |e which |one to d|
|000003b0| 6f 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 61 |o...(def|alias 'a|
|000003c0| 73 6b 2d 75 73 65 72 2d | 61 62 6f 75 74 2d 6c 6f |sk-user-|about-lo|
|000003d0| 63 6b 20 23 5b 28 66 6e | 20 6f 70 70 6f 6e 65 6e |ck #[(fn| opponen|
|000003e0| 74 29 20 22 c0 20 88 c1 | 8b 87 22 20 5b 64 69 73 |t) ". ..|.." [dis|
|000003f0| 63 61 72 64 2d 69 6e 70 | 75 74 20 28 28 62 79 74 |card-inp|ut ((byt|
|00000400| 65 2d 63 6f 64 65 20 22 | c0 19 09 84 62 00 c2 c3 |e-code "|....b...|
|00000410| 5c 66 0d 23 88 c6 89 1e | 07 1e 08 c9 20 97 c0 16 |\f.#....|.... ...|
|00000420| 5c 6e 2a 89 1e 0b 0e 5c | 66 55 83 28 00 cd 20 88 |\n*....\|fU.(.. .|
|00000430| 82 5e 00 ce 0e 0b cf 5c | 22 89 11 84 40 00 d0 20 |.^.....\|"...@.. |
|00000440| 88 c2 d1 21 88 d2 d3 21 | 88 82 5e 00 09 41 d4 3d |...!...!|..^..A.=|
|00000450| 83 4f 00 cd 20 88 c0 11 | 82 5e 00 09 41 d5 3d 83 |.O.. ...|.^..A.=.|
|00000460| 5e 00 d6 d7 d8 0d 5c 66 | 45 5c 22 88 29 82 02 00 |^.....\f|E\".)...|
|00000470| 09 41 29 87 22 20 5b 6e | 69 6c 20 61 6e 73 77 65 |.A)." [n|il answe|
|00000480| 72 20 6d 65 73 73 61 67 | 65 20 22 25 73 20 69 73 |r messag|e "%s is|
|00000490| 20 6c 6f 63 6b 69 6e 67 | 20 25 73 3a 20 61 63 74 | locking| %s: act|
|000004a0| 69 6f 6e 20 28 73 2c 20 | 71 2c 20 70 2c 20 3f 29 |ion (s, |q, p, ?)|
|000004b0| 3f 20 22 20 6f 70 70 6f | 6e 65 6e 74 20 66 6e 20 |? " oppo|nent fn |
|000004c0| 74 20 63 75 72 73 6f 72 | 2d 69 6e 2d 65 63 68 6f |t cursor|-in-echo|
|000004d0| 2d 61 72 65 61 20 69 6e | 68 69 62 69 74 2d 71 75 |-area in|hibit-qu|
|000004e0| 69 74 20 72 65 61 64 2d | 63 68 61 72 20 71 75 69 |it read-|char qui|
|000004f0| 74 2d 66 6c 61 67 20 74 | 65 6d 20 68 65 6c 70 2d |t-flag t|em help-|
|00000500| 63 68 61 72 20 61 73 6b | 2d 75 73 65 72 2d 61 62 |char ask|-user-ab|
|00000510| 6f 75 74 2d 6c 6f 63 6b | 2d 68 65 6c 70 20 61 73 |out-lock|-help as|
|00000520| 73 6f 63 20 28 28 31 31 | 35 20 2e 20 74 29 20 28 |soc ((11|5 . t) (|
|00000530| 31 31 33 20 2e 20 79 69 | 65 6c 64 29 20 28 37 20 |113 . yi|eld) (7 |
|00000540| 2e 20 79 69 65 6c 64 29 | 20 28 31 31 32 29 20 28 |. yield)| (112) (|
|00000550| 36 33 20 2e 20 68 65 6c | 70 29 29 20 62 65 65 70 |63 . hel|p)) beep|
|00000560| 20 22 50 6c 65 61 73 65 | 20 74 79 70 65 20 71 2c | "Please| type q,|
|00000570| 20 73 2c 20 6f 72 20 70 | 3b 20 6f 72 20 3f 20 66 | s, or p|; or ? f|
|00000580| 6f 72 20 68 65 6c 70 22 | 20 73 69 74 2d 66 6f 72 |or help"| sit-for|
|00000590| 20 33 20 68 65 6c 70 20 | 79 69 65 6c 64 20 73 69 | 3 help |yield si|
|000005a0| 67 6e 61 6c 20 66 69 6c | 65 2d 6c 6f 63 6b 65 64 |gnal fil|e-locked|
|000005b0| 20 22 46 69 6c 65 20 69 | 73 20 6c 6f 63 6b 65 64 | "File i|s locked|
|000005c0| 22 5d 20 36 29 29 5d 20 | 31 20 28 23 24 20 2e 20 |"] 6))] |1 (#$ . |
|000005d0| 35 36 36 29 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |566)]).(|defalias|
|000005e0| 20 27 61 73 6b 2d 75 73 | 65 72 2d 61 62 6f 75 74 | 'ask-us|er-about|
|000005f0| 2d 6c 6f 63 6b 2d 68 65 | 6c 70 20 23 5b 6e 69 6c |-lock-he|lp #[nil|
|00000600| 20 22 c0 90 c1 c2 21 88 | 8a 0b 71 88 c4 20 29 91 | "....!.|..q.. ).|
|00000610| 87 22 20 5b 22 2a 48 65 | 6c 70 2a 22 20 70 72 69 |." ["*He|lp*" pri|
|00000620| 6e 63 20 22 49 74 20 68 | 61 73 20 62 65 65 6e 20 |nc "It h|as been |
|00000630| 64 65 74 65 63 74 65 64 | 20 74 68 61 74 20 79 6f |detected| that yo|
|00000640| 75 20 77 61 6e 74 20 74 | 6f 20 6d 6f 64 69 66 79 |u want t|o modify|
|00000650| 20 61 20 66 69 6c 65 20 | 74 68 61 74 20 73 6f 6d | a file |that som|
|00000660| 65 6f 6e 65 20 65 6c 73 | 65 20 68 61 73 5c 6e 61 |eone els|e has\na|
|00000670| 6c 72 65 61 64 79 20 73 | 74 61 72 74 65 64 20 6d |lready s|tarted m|
|00000680| 6f 64 69 66 79 69 6e 67 | 20 69 6e 20 45 4d 41 43 |odifying| in EMAC|
|00000690| 53 2e 5c 6e 5c 6e 59 6f | 75 20 63 61 6e 20 3c 73 |S.\n\nYo|u can <s|
|000006a0| 3e 74 65 61 6c 20 74 68 | 65 20 66 69 6c 65 3b 20 |>teal th|e file; |
|000006b0| 54 68 65 20 6f 74 68 65 | 72 20 75 73 65 72 20 62 |The othe|r user b|
|000006c0| 65 63 6f 6d 65 73 20 74 | 68 65 5c 6e 20 20 69 6e |ecomes t|he\n in|
|000006d0| 74 72 75 64 65 72 20 69 | 66 20 28 73 29 68 65 20 |truder i|f (s)he |
|000006e0| 65 76 65 72 20 75 6e 6d | 6f 64 69 66 69 65 73 20 |ever unm|odifies |
|000006f0| 74 68 65 20 66 69 6c 65 | 20 61 6e 64 20 74 68 65 |the file| and the|
|00000700| 6e 20 63 68 61 6e 67 65 | 73 20 69 74 20 61 67 61 |n change|s it aga|
|00000710| 69 6e 2e 5c 6e 59 6f 75 | 20 63 61 6e 20 3c 70 3e |in.\nYou| can <p>|
|00000720| 72 6f 63 65 65 64 3b 20 | 79 6f 75 20 65 64 69 74 |roceed; |you edit|
|00000730| 20 61 74 20 79 6f 75 72 | 20 6f 77 6e 20 28 61 6e | at your| own (an|
|00000740| 64 20 74 68 65 20 6f 74 | 68 65 72 20 75 73 65 72 |d the ot|her user|
|00000750| 27 73 29 20 72 69 73 6b | 2e 5c 6e 59 6f 75 20 63 |'s) risk|.\nYou c|
|00000760| 61 6e 20 3c 71 3e 75 69 | 74 3b 20 64 6f 6e 27 74 |an <q>ui|t; don't|
|00000770| 20 6d 6f 64 69 66 79 20 | 74 68 69 73 20 66 69 6c | modify |this fil|
|00000780| 65 2e 22 20 73 74 61 6e | 64 61 72 64 2d 6f 75 74 |e." stan|dard-out|
|00000790| 70 75 74 20 68 65 6c 70 | 2d 6d 6f 64 65 5d 20 33 |put help|-mode] 3|
|000007a0| 5d 29 0a 28 70 75 74 20 | 28 71 75 6f 74 65 20 66 |]).(put |(quote f|
|000007b0| 69 6c 65 2d 73 75 70 65 | 72 73 65 73 73 69 6f 6e |ile-supe|rsession|
|000007c0| 29 20 28 71 75 6f 74 65 | 20 65 72 72 6f 72 2d 63 |) (quote| error-c|
|000007d0| 6f 6e 64 69 74 69 6f 6e | 73 29 20 28 71 75 6f 74 |ondition|s) (quot|
|000007e0| 65 20 28 66 69 6c 65 2d | 73 75 70 65 72 73 65 73 |e (file-|superses|
|000007f0| 73 69 6f 6e 20 66 69 6c | 65 2d 65 72 72 6f 72 20 |sion fil|e-error |
|00000800| 65 72 72 6f 72 29 29 29 | 0a 23 40 34 32 35 20 41 |error)))|.#@425 A|
|00000810| 73 6b 20 61 20 75 73 65 | 72 20 77 68 6f 20 69 73 |sk a use|r who is|
|00000820| 20 61 62 6f 75 74 20 74 | 6f 20 6d 6f 64 69 66 79 | about t|o modify|
|00000830| 20 61 6e 20 6f 62 73 6f | 6c 65 74 65 20 62 75 66 | an obso|lete buf|
|00000840| 66 65 72 20 77 68 61 74 | 20 74 6f 20 64 6f 2e 0a |fer what| to do..|
|00000850| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 68 61 |This fun|ction ha|
|00000860| 73 20 74 77 6f 20 63 68 | 6f 69 63 65 73 3a 20 69 |s two ch|oices: i|
|00000870| 74 20 63 61 6e 20 72 65 | 74 75 72 6e 2c 20 69 6e |t can re|turn, in|
|00000880| 20 77 68 69 63 68 20 63 | 61 73 65 20 74 68 65 20 | which c|ase the |
|00000890| 6d 6f 64 69 66 69 63 61 | 74 69 6f 6e 0a 6f 66 20 |modifica|tion.of |
|000008a0| 74 68 65 20 62 75 66 66 | 65 72 20 77 69 6c 6c 20 |the buff|er will |
|000008b0| 70 72 6f 63 65 65 64 2c | 20 6f 72 20 69 74 20 63 |proceed,| or it c|
|000008c0| 61 6e 20 28 73 69 67 6e | 61 6c 20 27 66 69 6c 65 |an (sign|al 'file|
|000008d0| 2d 73 75 70 65 72 73 65 | 73 73 69 6f 6e 20 28 66 |-superse|ssion (f|
|000008e0| 69 6c 65 29 29 2c 0a 69 | 6e 20 77 68 69 63 68 20 |ile)),.i|n which |
|000008f0| 63 61 73 65 20 74 68 65 | 20 70 72 6f 70 6f 73 65 |case the| propose|
|00000900| 64 20 62 75 66 66 65 72 | 20 6d 6f 64 69 66 69 63 |d buffer| modific|
|00000910| 61 74 69 6f 6e 20 77 69 | 6c 6c 20 6e 6f 74 20 62 |ation wi|ll not b|
|00000920| 65 20 6d 61 64 65 2e 0a | 0a 59 6f 75 20 63 61 6e |e made..|.You can|
|00000930| 20 72 65 77 72 69 74 65 | 20 74 68 69 73 20 74 6f | rewrite| this to|
|00000940| 20 75 73 65 20 61 6e 79 | 20 63 72 69 74 65 72 69 | use any| criteri|
|00000950| 6f 6e 20 79 6f 75 20 6c | 69 6b 65 20 74 6f 20 63 |on you l|ike to c|
|00000960| 68 6f 6f 73 65 20 77 68 | 69 63 68 20 6f 6e 65 20 |hoose wh|ich one |
|00000970| 74 6f 20 64 6f 2e 0a 54 | 68 65 20 62 75 66 66 65 |to do..T|he buffe|
|00000980| 72 20 69 6e 20 71 75 65 | 73 74 69 6f 6e 20 69 73 |r in que|stion is|
|00000990| 20 63 75 72 72 65 6e 74 | 20 77 68 65 6e 20 74 68 | current| when th|
|000009a0| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 63 |is funct|ion is c|
|000009b0| 61 6c 6c 65 64 2e 1f 0a | 28 64 65 66 61 6c 69 61 |alled...|(defalia|
|000009c0| 73 20 27 61 73 6b 2d 75 | 73 65 72 2d 61 62 6f 75 |s 'ask-u|ser-abou|
|000009d0| 74 2d 73 75 70 65 72 73 | 65 73 73 69 6f 6e 2d 74 |t-supers|ession-t|
|000009e0| 68 72 65 61 74 20 23 5b | 28 66 6e 29 20 22 c0 20 |hreat #[|(fn) ". |
|000009f0| 88 c1 8b 87 22 20 5b 64 | 69 73 63 61 72 64 2d 69 |...." [d|iscard-i|
|00000a00| 6e 70 75 74 20 28 28 62 | 79 74 65 2d 63 6f 64 65 |nput ((b|yte-code|
|00000a10| 20 22 c0 19 09 84 70 00 | c2 c3 c4 0d 21 5c 22 88 | "....p.|....!\".|
|00000a20| c6 1e 07 c8 20 29 97 89 | 1e 09 0e 5c 6e 55 83 21 |.... )..|...\nU.!|
|00000a30| 00 cb 82 27 00 cc 0e 09 | cd 5c 22 41 89 11 84 3a |...'....|.\"A...:|
|00000a40| 00 ce 20 88 c2 cf 21 88 | d0 d1 21 88 82 6c 00 09 |.. ...!.|..!..l..|
|00000a50| cb 3d 83 48 00 d2 20 88 | c0 11 82 6c 00 09 d3 3d |.=.H.. .|...l...=|
|00000a60| 83 5f 00 d4 c0 d5 20 3f | 5c 22 88 d6 d7 d8 0d 44 |._.... ?|\".....D|
|00000a70| 5c 22 88 82 6c 00 09 d9 | 3d 83 6c 00 d6 d7 da 0d |\"..l...|=.l.....|
|00000a80| 44 5c 22 88 29 82 02 00 | c2 db 21 88 c0 89 16 1c |D\".)...|..!.....|
|00000a90| 29 87 22 20 5b 6e 69 6c | 20 61 6e 73 77 65 72 20 |)." [nil| answer |
|00000aa0| 6d 65 73 73 61 67 65 20 | 22 25 73 20 63 68 61 6e |message |"%s chan|
|00000ab0| 67 65 64 20 6f 6e 20 64 | 69 73 6b 3b 20 72 65 61 |ged on d|isk; rea|
|00000ac0| 6c 6c 79 20 65 64 69 74 | 20 74 68 65 20 62 75 66 |lly edit| the buf|
|00000ad0| 66 65 72 3f 20 28 79 2c | 20 6e 2c 20 72 20 6f 72 |fer? (y,| n, r or|
|00000ae0| 20 43 2d 68 29 20 22 20 | 66 69 6c 65 2d 6e 61 6d | C-h) " |file-nam|
|00000af0| 65 2d 6e 6f 6e 64 69 72 | 65 63 74 6f 72 79 20 66 |e-nondir|ectory f|
|00000b00| 6e 20 74 20 63 75 72 73 | 6f 72 2d 69 6e 2d 65 63 |n t curs|or-in-ec|
|00000b10| 68 6f 2d 61 72 65 61 20 | 72 65 61 64 2d 63 68 61 |ho-area |read-cha|
|00000b20| 72 20 74 65 6d 20 68 65 | 6c 70 2d 63 68 61 72 20 |r tem he|lp-char |
|00000b30| 68 65 6c 70 20 61 73 73 | 6f 63 20 28 28 31 31 30 |help ass|oc ((110|
|00000b40| 20 2e 20 79 69 65 6c 64 | 29 20 28 37 20 2e 20 79 | . yield|) (7 . y|
|00000b50| 69 65 6c 64 29 20 28 31 | 32 31 20 2e 20 70 72 6f |ield) (1|21 . pro|
|00000b60| 63 65 65 64 29 20 28 31 | 31 34 20 2e 20 72 65 76 |ceed) (1|14 . rev|
|00000b70| 65 72 74 29 20 28 36 33 | 20 2e 20 68 65 6c 70 29 |ert) (63| . help)|
|00000b80| 29 20 62 65 65 70 20 22 | 50 6c 65 61 73 65 20 74 |) beep "|Please t|
|00000b90| 79 70 65 20 79 2c 20 6e | 20 6f 72 20 72 3b 20 6f |ype y, n| or r; o|
|00000ba0| 72 20 3f 20 66 6f 72 20 | 68 65 6c 70 22 20 73 69 |r ? for |help" si|
|00000bb0| 74 2d 66 6f 72 20 33 20 | 61 73 6b 2d 75 73 65 72 |t-for 3 |ask-user|
|00000bc0| 2d 61 62 6f 75 74 2d 73 | 75 70 65 72 73 65 73 73 |-about-s|upersess|
|00000bd0| 69 6f 6e 2d 68 65 6c 70 | 20 72 65 76 65 72 74 20 |ion-help| revert |
|00000be0| 72 65 76 65 72 74 2d 62 | 75 66 66 65 72 20 62 75 |revert-b|uffer bu|
|00000bf0| 66 66 65 72 2d 6d 6f 64 | 69 66 69 65 64 2d 70 20 |ffer-mod|ified-p |
|00000c00| 73 69 67 6e 61 6c 20 66 | 69 6c 65 2d 73 75 70 65 |signal f|ile-supe|
|00000c10| 72 73 65 73 73 69 6f 6e | 20 22 46 69 6c 65 20 72 |rsession| "File r|
|00000c20| 65 76 65 72 74 65 64 22 | 20 79 69 65 6c 64 20 22 |everted"| yield "|
|00000c30| 46 69 6c 65 20 63 68 61 | 6e 67 65 64 20 6f 6e 20 |File cha|nged on |
|00000c40| 64 69 73 6b 22 20 22 46 | 69 6c 65 20 6f 6e 20 64 |disk" "F|ile on d|
|00000c50| 69 73 6b 20 6e 6f 77 20 | 77 69 6c 6c 20 62 65 63 |isk now |will bec|
|00000c60| 6f 6d 65 20 61 20 62 61 | 63 6b 75 70 20 66 69 6c |ome a ba|ckup fil|
|00000c70| 65 20 69 66 20 79 6f 75 | 20 73 61 76 65 20 74 68 |e if you| save th|
|00000c80| 65 73 65 20 63 68 61 6e | 67 65 73 2e 22 20 62 75 |ese chan|ges." bu|
|00000c90| 66 66 65 72 2d 62 61 63 | 6b 65 64 2d 75 70 5d 20 |ffer-bac|ked-up] |
|00000ca0| 35 29 29 5d 20 31 20 28 | 23 24 20 2e 20 32 30 36 |5))] 1 (|#$ . 206|
|00000cb0| 33 29 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |3)]).(de|falias '|
|00000cc0| 61 73 6b 2d 75 73 65 72 | 2d 61 62 6f 75 74 2d 73 |ask-user|-about-s|
|00000cd0| 75 70 65 72 73 65 73 73 | 69 6f 6e 2d 68 65 6c 70 |upersess|ion-help|
|00000ce0| 20 23 5b 6e 69 6c 20 22 | c0 90 c1 c2 21 88 8a 0b | #[nil "|....!...|
|00000cf0| 71 88 c4 20 29 91 87 22 | 20 5b 22 2a 48 65 6c 70 |q.. ).."| ["*Help|
|00000d00| 2a 22 20 70 72 69 6e 63 | 20 22 59 6f 75 20 77 61 |*" princ| "You wa|
|00000d10| 6e 74 20 74 6f 20 6d 6f | 64 69 66 79 20 61 20 62 |nt to mo|dify a b|
|00000d20| 75 66 66 65 72 20 77 68 | 6f 73 65 20 64 69 73 6b |uffer wh|ose disk|
|00000d30| 20 66 69 6c 65 20 68 61 | 73 20 63 68 61 6e 67 65 | file ha|s change|
|00000d40| 64 5c 6e 73 69 6e 63 65 | 20 79 6f 75 20 6c 61 73 |d\nsince| you las|
|00000d50| 74 20 72 65 61 64 20 69 | 74 20 69 6e 20 6f 72 20 |t read i|t in or |
|00000d60| 73 61 76 65 64 20 69 74 | 20 77 69 74 68 20 74 68 |saved it| with th|
|00000d70| 69 73 20 62 75 66 66 65 | 72 2e 5c 6e 5c 6e 49 66 |is buffe|r.\n\nIf|
|00000d80| 20 79 6f 75 20 73 61 79 | 20 60 79 27 20 74 6f 20 | you say| `y' to |
|00000d90| 67 6f 20 61 68 65 61 64 | 20 61 6e 64 20 6d 6f 64 |go ahead| and mod|
|00000da0| 69 66 79 20 74 68 69 73 | 20 62 75 66 66 65 72 2c |ify this| buffer,|
|00000db0| 5c 6e 79 6f 75 20 72 69 | 73 6b 20 72 75 69 6e 69 |\nyou ri|sk ruini|
|00000dc0| 6e 67 20 74 68 65 20 77 | 6f 72 6b 20 6f 66 20 77 |ng the w|ork of w|
|00000dd0| 68 6f 65 76 65 72 20 72 | 65 77 72 6f 74 65 20 74 |hoever r|ewrote t|
|00000de0| 68 65 20 66 69 6c 65 2e | 5c 6e 49 66 20 79 6f 75 |he file.|\nIf you|
|00000df0| 20 73 61 79 20 60 72 27 | 20 74 6f 20 72 65 76 65 | say `r'| to reve|
|00000e00| 72 74 2c 20 74 68 65 20 | 63 6f 6e 74 65 6e 74 73 |rt, the |contents|
|00000e10| 20 6f 66 20 74 68 65 20 | 62 75 66 66 65 72 20 61 | of the |buffer a|
|00000e20| 72 65 20 72 65 66 72 65 | 73 68 65 64 5c 6e 66 72 |re refre|shed\nfr|
|00000e30| 6f 6d 20 74 68 65 20 66 | 69 6c 65 20 6f 6e 20 64 |om the f|ile on d|
|00000e40| 69 73 6b 2e 5c 6e 49 66 | 20 79 6f 75 20 73 61 79 |isk.\nIf| you say|
|00000e50| 20 60 6e 27 2c 20 74 68 | 65 20 63 68 61 6e 67 65 | `n', th|e change|
|00000e60| 20 79 6f 75 20 73 74 61 | 72 74 65 64 20 74 6f 20 | you sta|rted to |
|00000e70| 6d 61 6b 65 20 77 69 6c | 6c 20 62 65 20 61 62 6f |make wil|l be abo|
|00000e80| 72 74 65 64 2e 5c 6e 5c | 6e 55 73 75 61 6c 6c 79 |rted.\n\|nUsually|
|00000e90| 2c 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 74 79 70 |, you sh|ould typ|
|00000ea0| 65 20 60 6e 27 20 61 6e | 64 20 74 68 65 6e 20 60 |e `n' an|d then `|
|00000eb0| 4d 2d 78 20 72 65 76 65 | 72 74 2d 62 75 66 66 65 |M-x reve|rt-buffe|
|00000ec0| 72 27 2c 5c 6e 74 6f 20 | 67 65 74 20 74 68 65 20 |r',\nto |get the |
|00000ed0| 6c 61 74 65 73 74 20 76 | 65 72 73 69 6f 6e 20 6f |latest v|ersion o|
|00000ee0| 66 20 74 68 65 20 66 69 | 6c 65 2c 20 74 68 65 6e |f the fi|le, then|
|00000ef0| 20 6d 61 6b 65 20 74 68 | 65 20 63 68 61 6e 67 65 | make th|e change|
|00000f00| 20 61 67 61 69 6e 2e 22 | 20 73 74 61 6e 64 61 72 | again."| standar|
|00000f10| 64 2d 6f 75 74 70 75 74 | 20 68 65 6c 70 2d 6d 6f |d-output| help-mo|
|00000f20| 64 65 5d 20 33 5d 29 0a | |de] 3]).| |
+--------+-------------------------+-------------------------+--------+--------+